/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.pi.dao;

import java.util.List;

/**
 *
 * @author Aluno
 */
public interface BaseDAO<T, ID> {

    T salvar(T entidade) throws Exception;

    T pesquisarPorId(ID id) throws Exception;

    void remove(T entidade) throws Exception;

    List<T> getTodos() throws Exception;
}